class Clock:
    id = None
    price = None

    def ring(self):
        import winsound
        winsound.Beep(1000, 1000)

    def __init__(self, id, price):
        self.id = id
        self.price = price


clock1 = Clock()
clock1.id = "001"
clock1.price = 100
clock1.ring()
